﻿using System;
using System.Globalization;
using client.helpers;
using System.Windows.Data;

namespace client.converters
{
    public class LocStringConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            return LocStringHelper.GetInstance().GetString(parameter as string);
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
